Enhance triage agent to complete full triage lifecycle#438
Closed
axon-agent[bot] wants to merge 1 commit intomainfrom
Closed
Enhance triage agent to complete full triage lifecycle#438axon-agent[bot] wants to merge 1 commit intomainfrom
axon-agent[bot] wants to merge 1 commit intomainfrom
Conversation
The triage agent currently classifies issues (kind/* label) and checks validity, but stops short of priority assessment, actor recommendation, and triage status label management. This leaves 3-4 manual label operations per triaged issue for the maintainer. Add two new triage tasks to the prompt: - Priority assessment (priority/imporant-soon, import-longterm, backlog) - Actor recommendation (actor/axon vs needs-actor) Update label management to swap needs-triage → triage-accepted and clean up needs-priority and needs-actor labels automatically. The axon/needs-input label is preserved as the human review gate, ensuring the maintainer can override any recommendation before a worker agent picks up the issue. Closes #437 Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
There was a problem hiding this comment.
1 issue found across 1 file
Prompt for AI agents (unresolved issues)
Check if these issues are valid — if so, understand the root cause of each and fix them. If appropriate, use sub-agents to investigate and fix each issue separately.
<file name="self-development/axon-triage.yaml">
<violation number="1" location="self-development/axon-triage.yaml:79">
P2: Priority label names are misspelled (`imporant`/`import`), so the triage agent will apply non-standard labels instead of the intended `priority/important-*` labels.</violation>
</file>
Reply with feedback, questions, or to request a fix. Tag @cubic-dev-ai to re-run a review.
|
|
||
| ### 5. Assess priority | ||
| Based on your analysis, recommend a priority level: | ||
| - `priority/imporant-soon` — Blocks adoption, user-facing bug, security issue, |
There was a problem hiding this comment.
P2: Priority label names are misspelled (imporant/import), so the triage agent will apply non-standard labels instead of the intended priority/important-* labels.
Prompt for AI agents
Check if this issue is valid — if so, understand the root cause and fix it. At self-development/axon-triage.yaml, line 79:
<comment>Priority label names are misspelled (`imporant`/`import`), so the triage agent will apply non-standard labels instead of the intended `priority/important-*` labels.</comment>
<file context>
@@ -74,6 +74,37 @@ spec:
+ ### 5. Assess priority
+ Based on your analysis, recommend a priority level:
+ - `priority/imporant-soon` — Blocks adoption, user-facing bug, security issue,
+ or directly requested by the maintainer
+ - `priority/import-longterm` — Valuable improvement but not urgent, nice-to-have
</file context>
gjkim42
approved these changes
Feb 26, 2026
5 tasks
Collaborator
|
great, but closed due to https://github.com/axon-core/axon/issues/441. |
axon-agent bot
pushed a commit
that referenced
this pull request
Feb 26, 2026
- Update intro to describe full triage scope - Remove priority/critical-urgent level (not in original issue spec) - Use improved priority criteria with maintainer-request and quality-of-life - Restructure actor criteria with explicit ALL/ANY conditions - Combine label operations into single gh issue edit command - Add explanatory paragraph about axon/needs-input review gate - Use "or" instead of "/" in Actor comment format Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
axon-agent bot
pushed a commit
that referenced
this pull request
Feb 26, 2026
- Update intro to describe full triage scope - Remove priority/critical-urgent level (not in original issue spec) - Use improved priority criteria with maintainer-request and quality-of-life - Restructure actor criteria with explicit ALL/ANY conditions - Combine label operations into single gh issue edit command - Add explanatory paragraph about axon/needs-input review gate - Use "or" instead of "/" in Actor comment format Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
axon-agent bot
pushed a commit
that referenced
this pull request
Feb 26, 2026
- Update intro to describe full triage scope - Remove priority/critical-urgent level (not in original issue spec) - Use improved priority criteria with maintainer-request and quality-of-life - Restructure actor criteria with explicit ALL/ANY conditions - Combine label operations into single gh issue edit command - Add explanatory paragraph about axon/needs-input review gate - Use "or" instead of "/" in Actor comment format Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
axon-triageTaskSpawner prompt to complete the full triage lifecycle instead of stopping at classificationpriority/imporant-soon,priority/import-longterm,priority/backlog) with clear criteriaactor/axonvsneeds-actor) with explicit criteria for what Axon can and cannot handle autonomouslyneeds-triage→triage-acceptedand clean upneeds-priority/needs-actorlabelsaxon/needs-inputas the human review gate — maintainer can override any recommendation before approvingBefore: Triage agent classifies (kind/*) and checks validity, then stops. Maintainer must manually assess priority, assign actor, and update 3-4 labels per issue. 30 issues currently sit in this bottleneck.
After: Triage agent completes all label operations. Maintainer reviews the triage comment (now includes priority + actor justification) and removes
axon/needs-inputto approve — a single operation instead of 5.Test plan
kubectl apply --dry-run=client -f self-development/axon-triage.yaml)axon/needs-inputstill blocks worker pickup (safety gate preserved)Closes #437
🤖 Generated with Claude Code
Summary by cubic
Expands the axon-triage agent to complete the full triage lifecycle (classify, validate, set priority, recommend actor, comment, and labels). Maintainers now only approve by removing axon/needs-input.
Written for commit 88842ea. Summary will update on new commits.